Skip to main content

Generate GroupAPIId and SupplierAPIId

Steps

  1. Get the accountId for the group users that you want to generate the mapping Id.

  2. Go to visn-devops-script repo and find the <ENV> execute node script workflow

  3. In the script name input enter generate:accountAPIId -- -ac <Account Id>

generate:accountAPIId -- -ac <Account Id>
  1. Run the workflow.

  2. In the with command step of the workflow run, you will be able to find the groupAPIId.

Note:

  1. Whenever a groupAPIId is generated, supplierAPIId is generated automatically for all the service units present under that group.
  2. The supplierAPIId can be found in the /ancillary/apiIdMapping/accounts/{accountId}/serviceUnits/{serviceUnitId}
  3. When new suppliers are added to a group, manually update the timestamp in the database (located at /ancillary/apiIdMapping/accounts/{accountId}) to trigger the generation of the supplierAPIId for the new suppliers.
Status: Accepted
Category: Protected
Authored By: Harish on JULY 17, 2024
Revisions